//
//  KnowDatilCell.m
//  HealthA段
//
//  Created by MrJXT on 15/6/6.
//  Copyright (c) 2015年 www.lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "KnowDatilCell.h"
#define WIDTH self.contentView.frame.size.width
#define HEIGHT self.contentView.frame.size.height
@implementation KnowDatilCell
- (void)dealloc
{
    
    [_picView release];
    [super dealloc];
}
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.picView = [[UIImageView alloc]init];
        [self.contentView addSubview:self.picView];
        [_picView release];
        
        
    }
    return self;
}

//试图布局
-(void)layoutSubviews
{
    [super layoutSubviews];
    self.picView.frame = CGRectMake(5, 5, WIDTH - 10, HEIGHT - 10);
    

}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
